﻿using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SmartPatientCentre.Repositories;
using SmartPatientCentre.Common;

namespace SmartPatientCentreUnitTests
{
    [TestClass]
    public class UnitTestPotassium
    {
        [TestMethod]
        public void TestPotassiumNormalValues()
        {
            decimal value1 = 3.7M;
            decimal value2 = 5.2M;
            decimal value3 = 4;
            decimal value4 = 5.19M;

            Assert.AreEqual(true, Potassium.NormalRange(value1));
            Assert.AreEqual(true, Potassium.NormalRange(value2));
            Assert.AreEqual(true, Potassium.NormalRange(value3));
            Assert.AreEqual(true, Potassium.NormalRange(value4));
        }
    }
}
